package the.workshop.milktea.infrastructure.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;

@TableName("milktea_ingredient_collect")
@Data
public class IngredientCollect extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1766923511442246800L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("ingredient_id")
    private Integer ingredientId;

    @TableField("amount_used")
    private Integer amountUsed;
}
